home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / hdf / mac / h10srcst.hqx / Source / HyperHell Source / HCard Dev. Toolkit / XCMD Stacks / Video / card_2442.txt < prev    next >
Encoding:
Text File  |  1989-02-05  |  7.6 KB  |  355 lines

  1. -- card: 2442 from stack: in
  2. -- bmap block id: 4889
  3. -- flags: 0000
  4. -- background id: 2124
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   show message
  9. end openCard
  10.  
  11.  
  12. -- part 1 (button)
  13. -- low flags: 00
  14. -- high flags: 8003
  15. -- rect: left=69 top=26 right=46 bottom=294
  16. -- title width / last selected line: 0
  17. -- icon id / first selected line: 0 / 0
  18. -- text alignment: 1
  19. -- font id: 0
  20. -- text size: 12
  21. -- style flags: 0
  22. -- line height: 16
  23. -- part name: Mini Videodisk Control Panel:
  24. ----- HyperTalk script -----
  25. on mouseUp
  26.  
  27. end mouseUp
  28.  
  29.  
  30.  
  31. -- part 3 (button)
  32. -- low flags: 00
  33. -- high flags: 0000
  34. -- rect: left=267 top=52 right=76 bottom=291
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 9940 / 9940
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: 
  43. ----- HyperTalk script -----
  44. on mouseUp
  45.   if message = empty then exit mouseUp
  46.   put the optionKey into option
  47.   if the shiftKey is up then
  48.     if option is up then video search,message
  49.     else video slow,till,message
  50.   else
  51.     if option is up then video play,till,message
  52.     else video fast,till,message
  53.   end if
  54. end mouseUp
  55.  
  56.  
  57.  
  58. -- part 7 (button)
  59. -- low flags: 00
  60. -- high flags: 0000
  61. -- rect: left=293 top=54 right=74 bottom=313
  62. -- title width / last selected line: 0
  63. -- icon id / first selected line: 1013 / 1013
  64. -- text alignment: 1
  65. -- font id: 0
  66. -- text size: 12
  67. -- style flags: 0
  68. -- line height: 16
  69. -- part name: 
  70. ----- HyperTalk script -----
  71. on mouseUp
  72.   put the optionKey into option
  73.   if the shiftKey is up then
  74.     if option is up then video step,forward
  75.     else video play,forward
  76.   else
  77.     if option is up then video slow,forward
  78.     else video fast,forward
  79.   end if
  80. end mouseUp
  81.  
  82.  
  83.  
  84. -- part 8 (button)
  85. -- low flags: 00
  86. -- high flags: 0000
  87. -- rect: left=245 top=54 right=75 bottom=266
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 1014 / 1014
  90. -- text alignment: 1
  91. -- font id: 0
  92. -- text size: 12
  93. -- style flags: 0
  94. -- line height: 16
  95. -- part name: 
  96. ----- HyperTalk script -----
  97. on mouseUp
  98.   put the optionKey into option
  99.   if the shiftKey is up then
  100.     if option is up then video step,reverse
  101.     else video play,reverse
  102.   else
  103.     if option is up then video slow,reverse
  104.     else video fast,reverse
  105.   end if
  106. end mouseUp
  107.  
  108.  
  109.  
  110. -- part 15 (button)
  111. -- low flags: 00
  112. -- high flags: 0000
  113. -- rect: left=380 top=262 right=285 bottom=413
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 29484 / 29484
  116. -- text alignment: 1
  117. -- font id: 0
  118. -- text size: 12
  119. -- style flags: 0
  120. -- line height: 16
  121. -- part name: 
  122. ----- HyperTalk script -----
  123. on mouseUp
  124.   visual scroll left
  125.   go next
  126. end mouseUp
  127.  
  128.  
  129.  
  130. -- part 33 (button)
  131. -- low flags: 00
  132. -- high flags: 0000
  133. -- rect: left=112 top=135 right=155 bottom=132
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 1013 / 1013
  136. -- text alignment: 1
  137. -- font id: 0
  138. -- text size: 12
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: 
  142. ----- HyperTalk script -----
  143. on mouseUp
  144.   put the optionKey into option
  145.   if the shiftKey is up then
  146.     if option is up then video step,forward
  147.     else video play,forward
  148.   else
  149.     if option is up then video slow,forward
  150.     else video fast,forward
  151.   end if
  152. end mouseUp
  153.  
  154.  
  155.  
  156. -- part 34 (button)
  157. -- low flags: 00
  158. -- high flags: 0000
  159. -- rect: left=112 top=161 right=181 bottom=132
  160. -- title width / last selected line: 0
  161. -- icon id / first selected line: 1013 / 1013
  162. -- text alignment: 1
  163. -- font id: 0
  164. -- text size: 12
  165. -- style flags: 0
  166. -- line height: 16
  167. -- part name: 
  168. ----- HyperTalk script -----
  169. on mouseUp
  170.   put the optionKey into option
  171.   if the shiftKey is up then
  172.     if option is up then video step,forward
  173.     else video play,forward
  174.   else
  175.     if option is up then video slow,forward
  176.     else video fast,forward
  177.   end if
  178. end mouseUp
  179.  
  180.  
  181.  
  182. -- part 35 (button)
  183. -- low flags: 00
  184. -- high flags: 0000
  185. -- rect: left=112 top=187 right=207 bottom=132
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 1013 / 1013
  188. -- text alignment: 1
  189. -- font id: 0
  190. -- text size: 12
  191. -- style flags: 0
  192. -- line height: 16
  193. -- part name: 
  194. ----- HyperTalk script -----
  195. on mouseUp
  196.   put the optionKey into option
  197.   if the shiftKey is up then
  198.     if option is up then video step,forward
  199.     else video play,forward
  200.   else
  201.     if option is up then video slow,forward
  202.     else video fast,forward
  203.   end if
  204. end mouseUp
  205.  
  206.  
  207.  
  208. -- part 36 (button)
  209. -- low flags: 00
  210. -- high flags: 0000
  211. -- rect: left=184 top=226 right=246 bottom=204
  212. -- title width / last selected line: 0
  213. -- icon id / first selected line: 1013 / 1013
  214. -- text alignment: 1
  215. -- font id: 0
  216. -- text size: 12
  217. -- style flags: 0
  218. -- line height: 16
  219. -- part name: 
  220. ----- HyperTalk script -----
  221. on mouseUp
  222.   put the optionKey into option
  223.   if the shiftKey is up then
  224.     if option is up then video step,forward
  225.     else video play,forward
  226.   else
  227.     if option is up then video slow,forward
  228.     else video fast,forward
  229.   end if
  230. end mouseUp
  231.  
  232.  
  233.  
  234. -- part 37 (button)
  235. -- low flags: 00
  236. -- high flags: 0000
  237. -- rect: left=297 top=135 right=156 bottom=318
  238. -- title width / last selected line: 0
  239. -- icon id / first selected line: 1014 / 1014
  240. -- text alignment: 1
  241. -- font id: 0
  242. -- text size: 12
  243. -- style flags: 0
  244. -- line height: 16
  245. -- part name: 
  246. ----- HyperTalk script -----
  247. on mouseUp
  248.   put the optionKey into option
  249.   if the shiftKey is up then
  250.     if option is up then video step,reverse
  251.     else video play,reverse
  252.   else
  253.     if option is up then video slow,reverse
  254.     else video fast,reverse
  255.   end if
  256. end mouseUp
  257.  
  258.  
  259.  
  260. -- part 38 (button)
  261. -- low flags: 00
  262. -- high flags: 0000
  263. -- rect: left=297 top=161 right=182 bottom=318
  264. -- title width / last selected line: 0
  265. -- icon id / first selected line: 1014 / 1014
  266. -- text alignment: 1
  267. -- font id: 0
  268. -- text size: 12
  269. -- style flags: 0
  270. -- line height: 16
  271. -- part name: 
  272. ----- HyperTalk script -----
  273. on mouseUp
  274.   put the optionKey into option
  275.   if the shiftKey is up then
  276.     if option is up then video step,reverse
  277.     else video play,reverse
  278.   else
  279.     if option is up then video slow,reverse
  280.     else video fast,reverse
  281.   end if
  282. end mouseUp
  283.  
  284.  
  285.  
  286. -- part 39 (button)
  287. -- low flags: 00
  288. -- high flags: 0000
  289. -- rect: left=297 top=186 right=207 bottom=318
  290. -- title width / last selected line: 0
  291. -- icon id / first selected line: 1014 / 1014
  292. -- text alignment: 1
  293. -- font id: 0
  294. -- text size: 12
  295. -- style flags: 0
  296. -- line height: 16
  297. -- part name: 
  298. ----- HyperTalk script -----
  299. on mouseUp
  300.   put the optionKey into option
  301.   if the shiftKey is up then
  302.     if option is up then video step,reverse
  303.     else video play,reverse
  304.   else
  305.     if option is up then video slow,reverse
  306.     else video fast,reverse
  307.   end if
  308. end mouseUp
  309.  
  310.  
  311.  
  312. -- part 40 (button)
  313. -- low flags: 00
  314. -- high flags: 0000
  315. -- rect: left=184 top=252 right=273 bottom=205
  316. -- title width / last selected line: 0
  317. -- icon id / first selected line: 1014 / 1014
  318. -- text alignment: 1
  319. -- font id: 0
  320. -- text size: 12
  321. -- style flags: 0
  322. -- line height: 16
  323. -- part name: 
  324. ----- HyperTalk script -----
  325. on mouseUp
  326.   put the optionKey into option
  327.   if the shiftKey is up then
  328.     if option is up then video step,reverse
  329.     else video play,reverse
  330.   else
  331.     if option is up then video slow,reverse
  332.     else video fast,reverse
  333.   end if
  334. end mouseUp
  335.  
  336.  
  337.  
  338. -- part contents for background part 1
  339. ----- text -----
  340.  
  341.  
  342. These three buttons will take care of most important functions you'll need to control your videodisk player from within a stack, while occupying relatively little screen space.
  343.  
  344.                      Step forward one frame                    Step in reverse one frame.
  345.  
  346.   Shift          Slowly play forward      Shift          Slowly play reverse
  347.  
  348.  Option        Play forward                  Option           Play reverse
  349.  
  350.  
  351.   Shift   and   Option          Fast forward
  352.  
  353.   Shift   and   Option          Fast reverse                        
  354.  
  355.